//
//  EnterListViewController.m
//  BobNews
//
//  Created by lanou3g on 16/5/5.
//  Copyright © 2016年 YJC. All rights reserved.
//

#import "EnterListViewController.h"
#import "NetWorkRequestManager.h"
@interface EnterListViewController ()
@property (nonatomic,strong) NSString *urlStr;

@end

@implementation EnterListViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self createWebView];
    self.title = self.eModel.title;
    // Do any additional setup after loading the view.
}
- (void)createWebView {
    UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    webView.backgroundColor = [UIColor magentaColor];
    [self.view addSubview:webView];
    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.eModel.url]]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
